package io.github.wslxm.springbootplus2.core.base.desensitization.handler;


import cn.hutool.core.util.DesensitizedUtil;
import io.github.wslxm.springbootplus2.core.base.desensitization.DesensitizationHandler;

/**
 * 移动电话号码 脱敏处理
 *
 * @author wangsong
 * @date 2023/09/05
 */
public class MobilePhoneDesensitizationHandler implements DesensitizationHandler {

    @Override
    public String handler(String str) {
        return DesensitizedUtil.mobilePhone(str);
    }
}
